<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>活动介绍</title>
	<link rel="stylesheet" href="../css/bootstrap.min.css" />
	<style type="text/css">
		body{
			background-image: url("../img/batthern.png");
		}
	</style>
</head>
<body>
	<%@ include file="include/top.jsp" %>

	<div class="container" style="margin-top: 60px;">
		<div class="row">
			<jsp:include page="include/left.jsp">
				<jsp:param value="active" name="tag"/>
			</jsp:include>
			<div class="span9">
				<div class="wall" style="min-height: 400px;" id="right">
				<h3>活动介绍<a class="btn pull-right" href="editintroduce.jspx?type=1">编辑介绍</a></h3>
				<hr/>
				<c:choose>
					<c:when test="${empty active}">
						<h3>现在还没有活动介绍，现在就<a href="editintroduce.jspx?type=1">添加</a></h3>
					</c:when>
					
					<c:otherwise>
						<h3><s:property value="active.title"/></h3>
						<s:property value="active.content" escapeHtml="false"/>
					</c:otherwise>
				</c:choose>
					
				</div>
			</div>
		</div>
		
		<%@ include file="include/footer.jsp" %>
	</div>
	<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="../js/bootstrap.min.js"></script>
	<script type="text/javascript" src="../js/welcome.js"></script>
	<script type="text/javascript">
		$(function() {
			$.welcome($("#welcome"));
		});
	</script>
</body>
</html>
